/**
 * 
 */
package com.sj.szxy.courseschedule.entity;

/**
 * 教室
 * 
 * @author Yi Ping
 * @date 2018年3月29日 上午11:19:44 
 * @since 1.0.0
 *
 */
public class ClassRoom {
	
	private int id;
	private String name;
	private String code;
	private int capacity;
	
	
	
	/**
	 * @param id
	 * @param name
	 * @param code
	 * @param capacity
	 */
	public ClassRoom(int id, String name, String code, int capacity) {
		super();
		this.id = id;
		this.name = name;
		this.code = code;
		this.capacity = capacity;
	}
	
	
	/**
	 * @param id
	 * @param code
	 * @param capacity
	 */
	public ClassRoom(int id, String code, int capacity) {
		super();
		this.id = id;
		this.code = code;
		this.capacity = capacity;
	}


	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public int getCapacity() {
		return capacity;
	}
	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}
	
	@Override
	public String toString() {
		return ClassRoom.class.getSimpleName() + "#" +id + name + code;
	}
	
	
	
	
	
}
